Optimal. Leaf size=214 \[ -\frac {b^2 (b+2 c x) \sqrt {b x+c x^2} \left (7 b^2 e^2-24 b c d e+24 c^2 d^2\right )}{512 c^4}+\frac {(b+2 c x) \left (b x+c x^2\right )^{3/2} \left (7 b^2 e^2-24 b c d e+24 c^2 d^2\right )}{192 c^3}+\frac {b^4 \left (7 b^2 e^2-24 b c d e+24 c^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{512 c^{9/2}}+\frac {7 e \left (b x+c x^2\right )^{5/2} (2 c d-b e)}{60 c^2}+\frac {e \left (b x+c x^2\right )^{5/2} (d+e x)}{6 c} \]
________________________________________________________________________________________
Rubi [A] time = 0.18, antiderivative size = 214, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.238, Rules used = {742, 640, 612, 620, 206} \begin {gather*} -\frac {b^2 (b+2 c x) \sqrt {b x+c x^2} \left (7 b^2 e^2-24 b c d e+24 c^2 d^2\right )}{512 c^4}+\frac {(b+2 c x) \left (b x+c x^2\right )^{3/2} \left (7 b^2 e^2-24 b c d e+24 c^2 d^2\right )}{192 c^3}+\frac {b^4 \left (7 b^2 e^2-24 b c d e+24 c^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{512 c^{9/2}}+\frac {7 e \left (b x+c x^2\right )^{5/2} (2 c d-b e)}{60 c^2}+\frac {e \left (b x+c x^2\right )^{5/2} (d+e x)}{6 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 612
Rule 620
Rule 640
Rule 742
Rubi steps
\begin {align*} \int (d+e x)^2 \left (b x+c x^2\right )^{3/2} \, dx &=\frac {e (d+e x) \left (b x+c x^2\right )^{5/2}}{6 c}+\frac {\int \left (\frac {1}{2} d (12 c d-5 b e)+\frac {7}{2} e (2 c d-b e) x\right ) \left (b x+c x^2\right )^{3/2} \, dx}{6 c}\\ &=\frac {7 e (2 c d-b e) \left (b x+c x^2\right )^{5/2}}{60 c^2}+\frac {e (d+e x) \left (b x+c x^2\right )^{5/2}}{6 c}+\frac {\left (c d (12 c d-5 b e)-\frac {7}{2} b e (2 c d-b e)\right ) \int \left (b x+c x^2\right )^{3/2} \, dx}{12 c^2}\\ &=\frac {\left (24 c^2 d^2-24 b c d e+7 b^2 e^2\right ) (b+2 c x) \left (b x+c x^2\right )^{3/2}}{192 c^3}+\frac {7 e (2 c d-b e) \left (b x+c x^2\right )^{5/2}}{60 c^2}+\frac {e (d+e x) \left (b x+c x^2\right )^{5/2}}{6 c}-\frac {\left (b^2 \left (24 c^2 d^2-24 b c d e+7 b^2 e^2\right )\right ) \int \sqrt {b x+c x^2} \, dx}{128 c^3}\\ &=-\frac {b^2 \left (24 c^2 d^2-24 b c d e+7 b^2 e^2\right ) (b+2 c x) \sqrt {b x+c x^2}}{512 c^4}+\frac {\left (24 c^2 d^2-24 b c d e+7 b^2 e^2\right ) (b+2 c x) \left (b x+c x^2\right )^{3/2}}{192 c^3}+\frac {7 e (2 c d-b e) \left (b x+c x^2\right )^{5/2}}{60 c^2}+\frac {e (d+e x) \left (b x+c x^2\right )^{5/2}}{6 c}+\frac {\left (b^4 \left (24 c^2 d^2-24 b c d e+7 b^2 e^2\right )\right ) \int \frac {1}{\sqrt {b x+c x^2}} \, dx}{1024 c^4}\\ &=-\frac {b^2 \left (24 c^2 d^2-24 b c d e+7 b^2 e^2\right ) (b+2 c x) \sqrt {b x+c x^2}}{512 c^4}+\frac {\left (24 c^2 d^2-24 b c d e+7 b^2 e^2\right ) (b+2 c x) \left (b x+c x^2\right )^{3/2}}{192 c^3}+\frac {7 e (2 c d-b e) \left (b x+c x^2\right )^{5/2}}{60 c^2}+\frac {e (d+e x) \left (b x+c x^2\right )^{5/2}}{6 c}+\frac {\left (b^4 \left (24 c^2 d^2-24 b c d e+7 b^2 e^2\right )\right ) \operatorname {Subst}\left (\int \frac {1}{1-c x^2} \, dx,x,\frac {x}{\sqrt {b x+c x^2}}\right )}{512 c^4}\\ &=-\frac {b^2 \left (24 c^2 d^2-24 b c d e+7 b^2 e^2\right ) (b+2 c x) \sqrt {b x+c x^2}}{512 c^4}+\frac {\left (24 c^2 d^2-24 b c d e+7 b^2 e^2\right ) (b+2 c x) \left (b x+c x^2\right )^{3/2}}{192 c^3}+\frac {7 e (2 c d-b e) \left (b x+c x^2\right )^{5/2}}{60 c^2}+\frac {e (d+e x) \left (b x+c x^2\right )^{5/2}}{6 c}+\frac {b^4 \left (24 c^2 d^2-24 b c d e+7 b^2 e^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{512 c^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.43, size = 197, normalized size = 0.92 \begin {gather*} \frac {(x (b+c x))^{3/2} \left (\frac {\left (7 b^2 e^2-24 b c d e+24 c^2 d^2\right ) \left (3 b^{7/2} \sinh ^{-1}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {b}}\right )+\sqrt {c} \sqrt {x} \sqrt {\frac {c x}{b}+1} \left (-3 b^3+2 b^2 c x+24 b c^2 x^2+16 c^3 x^3\right )\right )}{256 c^{7/2} (b+c x) \sqrt {\frac {c x}{b}+1}}+\frac {7 e x^{5/2} (b+c x) (2 c d-b e)}{10 c}+e x^{5/2} (b+c x) (d+e x)\right )}{6 c x^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.89, size = 254, normalized size = 1.19 \begin {gather*} \frac {\left (-7 b^6 e^2+24 b^5 c d e-24 b^4 c^2 d^2\right ) \log \left (-2 \sqrt {c} \sqrt {b x+c x^2}+b+2 c x\right )}{1024 c^{9/2}}+\frac {\sqrt {b x+c x^2} \left (-105 b^5 e^2+360 b^4 c d e+70 b^4 c e^2 x-360 b^3 c^2 d^2-240 b^3 c^2 d e x-56 b^3 c^2 e^2 x^2+240 b^2 c^3 d^2 x+192 b^2 c^3 d e x^2+48 b^2 c^3 e^2 x^3+2880 b c^4 d^2 x^2+4224 b c^4 d e x^3+1664 b c^4 e^2 x^4+1920 c^5 d^2 x^3+3072 c^5 d e x^4+1280 c^5 e^2 x^5\right )}{7680 c^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 490, normalized size = 2.29 \begin {gather*} \left [\frac {15 \, {\left (24 \, b^{4} c^{2} d^{2} - 24 \, b^{5} c d e + 7 \, b^{6} e^{2}\right )} \sqrt {c} \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right ) + 2 \, {\left (1280 \, c^{6} e^{2} x^{5} - 360 \, b^{3} c^{3} d^{2} + 360 \, b^{4} c^{2} d e - 105 \, b^{5} c e^{2} + 128 \, {\left (24 \, c^{6} d e + 13 \, b c^{5} e^{2}\right )} x^{4} + 48 \, {\left (40 \, c^{6} d^{2} + 88 \, b c^{5} d e + b^{2} c^{4} e^{2}\right )} x^{3} + 8 \, {\left (360 \, b c^{5} d^{2} + 24 \, b^{2} c^{4} d e - 7 \, b^{3} c^{3} e^{2}\right )} x^{2} + 10 \, {\left (24 \, b^{2} c^{4} d^{2} - 24 \, b^{3} c^{3} d e + 7 \, b^{4} c^{2} e^{2}\right )} x\right )} \sqrt {c x^{2} + b x}}{15360 \, c^{5}}, -\frac {15 \, {\left (24 \, b^{4} c^{2} d^{2} - 24 \, b^{5} c d e + 7 \, b^{6} e^{2}\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {c x^{2} + b x} \sqrt {-c}}{c x}\right ) - {\left (1280 \, c^{6} e^{2} x^{5} - 360 \, b^{3} c^{3} d^{2} + 360 \, b^{4} c^{2} d e - 105 \, b^{5} c e^{2} + 128 \, {\left (24 \, c^{6} d e + 13 \, b c^{5} e^{2}\right )} x^{4} + 48 \, {\left (40 \, c^{6} d^{2} + 88 \, b c^{5} d e + b^{2} c^{4} e^{2}\right )} x^{3} + 8 \, {\left (360 \, b c^{5} d^{2} + 24 \, b^{2} c^{4} d e - 7 \, b^{3} c^{3} e^{2}\right )} x^{2} + 10 \, {\left (24 \, b^{2} c^{4} d^{2} - 24 \, b^{3} c^{3} d e + 7 \, b^{4} c^{2} e^{2}\right )} x\right )} \sqrt {c x^{2} + b x}}{7680 \, c^{5}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.28, size = 262, normalized size = 1.22 \begin {gather*} \frac {1}{7680} \, \sqrt {c x^{2} + b x} {\left (2 \, {\left (4 \, {\left (2 \, {\left (8 \, {\left (10 \, c x e^{2} + \frac {24 \, c^{6} d e + 13 \, b c^{5} e^{2}}{c^{5}}\right )} x + \frac {3 \, {\left (40 \, c^{6} d^{2} + 88 \, b c^{5} d e + b^{2} c^{4} e^{2}\right )}}{c^{5}}\right )} x + \frac {360 \, b c^{5} d^{2} + 24 \, b^{2} c^{4} d e - 7 \, b^{3} c^{3} e^{2}}{c^{5}}\right )} x + \frac {5 \, {\left (24 \, b^{2} c^{4} d^{2} - 24 \, b^{3} c^{3} d e + 7 \, b^{4} c^{2} e^{2}\right )}}{c^{5}}\right )} x - \frac {15 \, {\left (24 \, b^{3} c^{3} d^{2} - 24 \, b^{4} c^{2} d e + 7 \, b^{5} c e^{2}\right )}}{c^{5}}\right )} - \frac {{\left (24 \, b^{4} c^{2} d^{2} - 24 \, b^{5} c d e + 7 \, b^{6} e^{2}\right )} \log \left ({\left | -2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} \sqrt {c} - b \right |}\right )}{1024 \, c^{\frac {9}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.05, size = 420, normalized size = 1.96 \begin {gather*} \frac {7 b^{6} e^{2} \ln \left (\frac {c x +\frac {b}{2}}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )}{1024 c^{\frac {9}{2}}}-\frac {3 b^{5} d e \ln \left (\frac {c x +\frac {b}{2}}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )}{128 c^{\frac {7}{2}}}+\frac {3 b^{4} d^{2} \ln \left (\frac {c x +\frac {b}{2}}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )}{128 c^{\frac {5}{2}}}-\frac {7 \sqrt {c \,x^{2}+b x}\, b^{4} e^{2} x}{256 c^{3}}+\frac {3 \sqrt {c \,x^{2}+b x}\, b^{3} d e x}{32 c^{2}}-\frac {3 \sqrt {c \,x^{2}+b x}\, b^{2} d^{2} x}{32 c}-\frac {7 \sqrt {c \,x^{2}+b x}\, b^{5} e^{2}}{512 c^{4}}+\frac {3 \sqrt {c \,x^{2}+b x}\, b^{4} d e}{64 c^{3}}-\frac {3 \sqrt {c \,x^{2}+b x}\, b^{3} d^{2}}{64 c^{2}}+\frac {7 \left (c \,x^{2}+b x \right )^{\frac {3}{2}} b^{2} e^{2} x}{96 c^{2}}-\frac {\left (c \,x^{2}+b x \right )^{\frac {3}{2}} b d e x}{4 c}+\frac {\left (c \,x^{2}+b x \right )^{\frac {3}{2}} d^{2} x}{4}+\frac {7 \left (c \,x^{2}+b x \right )^{\frac {3}{2}} b^{3} e^{2}}{192 c^{3}}-\frac {\left (c \,x^{2}+b x \right )^{\frac {3}{2}} b^{2} d e}{8 c^{2}}+\frac {\left (c \,x^{2}+b x \right )^{\frac {3}{2}} b \,d^{2}}{8 c}+\frac {\left (c \,x^{2}+b x \right )^{\frac {5}{2}} e^{2} x}{6 c}-\frac {7 \left (c \,x^{2}+b x \right )^{\frac {5}{2}} b \,e^{2}}{60 c^{2}}+\frac {2 \left (c \,x^{2}+b x \right )^{\frac {5}{2}} d e}{5 c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.57, size = 416, normalized size = 1.94 \begin {gather*} \frac {1}{4} \, {\left (c x^{2} + b x\right )}^{\frac {3}{2}} d^{2} x - \frac {3 \, \sqrt {c x^{2} + b x} b^{2} d^{2} x}{32 \, c} + \frac {3 \, \sqrt {c x^{2} + b x} b^{3} d e x}{32 \, c^{2}} - \frac {{\left (c x^{2} + b x\right )}^{\frac {3}{2}} b d e x}{4 \, c} - \frac {7 \, \sqrt {c x^{2} + b x} b^{4} e^{2} x}{256 \, c^{3}} + \frac {7 \, {\left (c x^{2} + b x\right )}^{\frac {3}{2}} b^{2} e^{2} x}{96 \, c^{2}} + \frac {{\left (c x^{2} + b x\right )}^{\frac {5}{2}} e^{2} x}{6 \, c} + \frac {3 \, b^{4} d^{2} \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right )}{128 \, c^{\frac {5}{2}}} - \frac {3 \, b^{5} d e \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right )}{128 \, c^{\frac {7}{2}}} + \frac {7 \, b^{6} e^{2} \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right )}{1024 \, c^{\frac {9}{2}}} - \frac {3 \, \sqrt {c x^{2} + b x} b^{3} d^{2}}{64 \, c^{2}} + \frac {{\left (c x^{2} + b x\right )}^{\frac {3}{2}} b d^{2}}{8 \, c} + \frac {3 \, \sqrt {c x^{2} + b x} b^{4} d e}{64 \, c^{3}} - \frac {{\left (c x^{2} + b x\right )}^{\frac {3}{2}} b^{2} d e}{8 \, c^{2}} + \frac {2 \, {\left (c x^{2} + b x\right )}^{\frac {5}{2}} d e}{5 \, c} - \frac {7 \, \sqrt {c x^{2} + b x} b^{5} e^{2}}{512 \, c^{4}} + \frac {7 \, {\left (c x^{2} + b x\right )}^{\frac {3}{2}} b^{3} e^{2}}{192 \, c^{3}} - \frac {7 \, {\left (c x^{2} + b x\right )}^{\frac {5}{2}} b e^{2}}{60 \, c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (c\,x^2+b\,x\right )}^{3/2}\,{\left (d+e\,x\right )}^2 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (x \left (b + c x\right )\right )^{\frac {3}{2}} \left (d + e x\right )^{2}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________